﻿<navigation:Page x:Class="TsSilverlight.Media" 
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
           xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
           mc:Ignorable="d"
           xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
           d:DesignWidth="798" d:DesignHeight="770"
           Title="Media Page" xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit" xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk">
    <Grid x:Name="LayoutRoot" Height="auto" HorizontalAlignment="Stretch" VerticalAlignment="0" Width="800">

        <StackPanel  Name="s">
            
            <Grid Height="376" HorizontalAlignment="Left" Name="gridSelector" VerticalAlignment="Top" Width="800">
                <ComboBox Height="23" HorizontalAlignment="Left" Margin="12,35,0,0" Name="comboBoxSports" VerticalAlignment="Top" Width="219" SelectionChanged="comboBoxSports_SelectionChanged" />
                <sdk:Label Height="23" HorizontalAlignment="Left" Margin="12,6,0,0" Name="labelSports" VerticalAlignment="Top" Width="132" Content="Selecione un deporte:" />
                <sdk:Label Height="23" Margin="12,75,634,0" Name="labelMatch" VerticalAlignment="Top" Content="Seleccione un encuentro:" />
                <ComboBox Height="23" HorizontalAlignment="Left" Margin="12,104,0,0" Name="comboBoxMatch" VerticalAlignment="Top" Width="219" SelectionChanged="comboBoxMatch_SelectionChanged" DisplayMemberPath="Name" />
                <Grid Name="gridVideos" Margin="268,40,20,21">
                    <Grid.ColumnDefinitions></Grid.ColumnDefinitions>
                    <Button Content="Play" Margin="12,0,0,12" Name="buttonPlay" HorizontalAlignment="Left" Width="75" Height="23" VerticalAlignment="Bottom" Click="buttonPlay_Click" />
                    <Button Content="Stop" Margin="0,0,12,12" Name="buttonStop" HorizontalAlignment="Right" Width="75" Height="23" VerticalAlignment="Bottom" Click="buttonStop_Click" Grid.Column="2" />
                    <Button Content="Pause" Margin="153,0,172,12" Name="buttonPause" Height="23" VerticalAlignment="Bottom" Click="buttonPause_Click" Grid.ColumnSpan="3" />
                    <MediaElement Margin="12,6,12,41" Name="mediaElementVideo" Stretch="Fill" MediaEnded="mediaElementVideo_MediaEnded" />
                </Grid>
                <sdk:Label Height="28" HorizontalAlignment="Center" Margin="411,6,198,0" Name="label1" VerticalAlignment="Top" Width="191" Content="Reproductor de videos" HorizontalContentAlignment="Center" />
            </Grid>
            <Grid  Name="gridImages" VerticalAlignment="Bottom" Width="800" Margin="2,0,-2,269">
                <ScrollViewer Height="400" HorizontalAlignment="Left" Name="scrollViewerImages" VerticalAlignment="Top" Width="800">
                    <toolkit:WrapPanel Name="wrapPanelImages"></toolkit:WrapPanel>
                </ScrollViewer>
            </Grid>
        </StackPanel>

        
      
   
        
    </Grid>
</navigation:Page>
